<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class home extends CI_Controller {

	function __construct(){
            parent::__construct();
            $this->load->library(array('session','form_validation'));
            $this->load->helper(array('form', 'url'));
            $this->member_id = $this->session->userdata('member_id');
            $this->member_nama = $this->session->userdata('member_nama');
        }
	
	public function index()
	{
            $data['tes'] = "tes"; 
            $this->load->view('template/header_home',$data); 
            $this->load->view('home/slider',$data);
            $this->load->view('home/kontent',$data);
            $this->load->view('template/footer_home',$data);
	}
}